LIMB SCALE Y

This command will return the Y scale value of the limb, normally set to 100 as a percentage indicator.

  Syntax
Return Float=LIMB SCALE Y(Object Number, Limb Number)
  Parameters
Object Number
Integer
The object number
Limb Number
Integer
The limb number

  Returns

This command will return the y scale value of the limb

  Description

A value of 50 would represent half scale, and a value of 200 would be double the scale.

  Example Code
sync on : sync rate 60 : hide mouse:cls 0
ObjectNumber=1
LimbNumber=7
load object "model.x",ObjectNumber
load image "iron.jpg",1
perform checklist for object limbs ObjectNumber
for c=1 to checklist quantity()
print checklist string$(c)
next c
while mouseclick()=0
set cursor 0,0
print "the limb x scale is ",limb scale x(ObjectNumber,LimbNumber)
print "the limb y scale is ",limb scale y(ObjectNumber,LimbNumber)
print "the limb z scale is ",limb scale z(ObjectNumber,LimbNumber)
print "limb name ",LIMB NAME$(ObjectNumber,LimbNumber)
print
print "please press a number"
  See also

BASIC3D Commands Menu
Index